package com.ymttest.database.sharding.db.sharding.model;

import java.util.Date;

public class AutoReceiveOptPo {
    /**
     * order_id BIGINT(19) 必填<br>
     * 订单号
     */
    private Long orderId;

    /**
     * expect_receive_time TIMESTAMP(19)<br>
     * 自动确认收货时间
     */
    private Date expectReceiveTime;

    /**
     * freeze BIT(1) 必填<br>
     * 是否冻结
     */
    private Boolean freeze;

    /**
     * freeze_time TIMESTAMP(19)<br>
     * 冻结时间
     */
    private Date freezeTime;

    /**
     * finish BIT(1) 默认值[b'0'] 必填<br>
     * 订单是否完结
     */
    private Boolean finish;

    /**
     * add_time TIMESTAMP(19) 默认值[CURRENT_TIMESTAMP] 必填<br>
     * 新增时间
     */
    private Date addTime;

    /**
     * update_time TIMESTAMP(19) 默认值[CURRENT_TIMESTAMP] 必填<br>
     * 更新时间
     */
    private Date updateTime;

    /**
     * order_id BIGINT(19) 必填<br>
     * 获得 订单号
     */
    public Long getOrderId() {
        return orderId;
    }

    /**
     * order_id BIGINT(19) 必填<br>
     * 设置 订单号
     */
    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    /**
     * expect_receive_time TIMESTAMP(19)<br>
     * 获得 自动确认收货时间
     */
    public Date getExpectReceiveTime() {
        return expectReceiveTime;
    }

    /**
     * expect_receive_time TIMESTAMP(19)<br>
     * 设置 自动确认收货时间
     */
    public void setExpectReceiveTime(Date expectReceiveTime) {
        this.expectReceiveTime = expectReceiveTime;
    }

    /**
     * freeze BIT(1) 必填<br>
     * 获得 是否冻结
     */
    public Boolean getFreeze() {
        return freeze;
    }

    /**
     * freeze BIT(1) 必填<br>
     * 设置 是否冻结
     */
    public void setFreeze(Boolean freeze) {
        this.freeze = freeze;
    }

    /**
     * freeze_time TIMESTAMP(19)<br>
     * 获得 冻结时间
     */
    public Date getFreezeTime() {
        return freezeTime;
    }

    /**
     * freeze_time TIMESTAMP(19)<br>
     * 设置 冻结时间
     */
    public void setFreezeTime(Date freezeTime) {
        this.freezeTime = freezeTime;
    }

    /**
     * finish BIT(1) 默认值[b'0'] 必填<br>
     * 获得 订单是否完结
     */
    public Boolean getFinish() {
        return finish;
    }

    /**
     * finish BIT(1) 默认值[b'0'] 必填<br>
     * 设置 订单是否完结
     */
    public void setFinish(Boolean finish) {
        this.finish = finish;
    }

    /**
     * add_time TIMESTAMP(19) 默认值[CURRENT_TIMESTAMP] 必填<br>
     * 获得 新增时间
     */
    public Date getAddTime() {
        return addTime;
    }

    /**
     * add_time TIMESTAMP(19) 默认值[CURRENT_TIMESTAMP] 必填<br>
     * 设置 新增时间
     */
    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }

    /**
     * update_time TIMESTAMP(19) 默认值[CURRENT_TIMESTAMP] 必填<br>
     * 获得 更新时间
     */
    public Date getUpdateTime() {
        return updateTime;
    }

    /**
     * update_time TIMESTAMP(19) 默认值[CURRENT_TIMESTAMP] 必填<br>
     * 设置 更新时间
     */
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", orderId=").append(orderId);
        sb.append(", expectReceiveTime=").append(expectReceiveTime);
        sb.append(", freeze=").append(freeze);
        sb.append(", freezeTime=").append(freezeTime);
        sb.append(", finish=").append(finish);
        sb.append(", addTime=").append(addTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append("]");
        return sb.toString();
    }
}